package rawengine.test;

public class FrameImage {
	
	private float minX;
	private float minY;
	private float maxX;
	private float maxY;
	
	private int index;
	
	public FrameImage(int index, float minX, float minY, float maxX, float maxY)
	{
		setIndex(index);
		setMinX(minX);
		setMinY(minY);
		setMaxX(maxX);
		setMaxY(maxY);
	}

	/**
	 * @param minX the minX to set
	 */
	public void setMinX(float minX) {
		this.minX = minX;
	}

	/**
	 * @return the minX
	 */
	public float getMinX() {
		return minX;
	}

	/**
	 * @param minY the minY to set
	 */
	public void setMinY(float minY) {
		this.minY = minY;
	}

	/**
	 * @return the minY
	 */
	public float getMinY() {
		return minY;
	}

	/**
	 * @param maxX the maxX to set
	 */
	public void setMaxX(float maxX) {
		this.maxX = maxX;
	}

	/**
	 * @return the maxX
	 */
	public float getMaxX() {
		return maxX;
	}

	/**
	 * @param maxY the maxY to set
	 */
	public void setMaxY(float maxY) {
		this.maxY = maxY;
	}

	/**
	 * @return the maxY
	 */
	public float getMaxY() {
		return maxY;
	}

	/**
	 * @param index the index to set
	 */
	public void setIndex(int index) {
		this.index = index;
	}

	/**
	 * @return the index
	 */
	public int getIndex() {
		return index;
	}
	
	public String toString()
	{
		return ("Index: " + index + " minX: " + minX + " minY: " + minY + " maxX: " + maxX + " maxY: " + maxY);
	}

}
